As a rough rule of thumb, an average person riding a a bike at about 15 km/h would be using 30-40 watts of power.
Let's assume that this cooking device would be twice as hard to pedal. If it converted your pedaling with 100% efficiency—which it certainly wouldn't—it would give you a peak output of 80 watts of power.
In that case, you'd still only get about 80 Watt-hours of energy after 1 hour of pedaling. For context, it takes about 90 watt-hours of energy to boil 1 litre of water, so you'd be pedaling over an hour to boil it. In fact, that's ignoring the rate at which the water is dissipating heat out into the air. You might not even get it to boil at all.
For this to work at all, you'd need many sets of pedals to allow multiple people to put energy in. With 10 people pedaling in the above scenario you'd be getting 800 watts, which would be usable for a lot of different types of cooking.