If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
You will have to collect all the prizes found under the water, which is mentioned as you proceed to each stage. Complete collecting the prizes within time.
Arrow Keys - Swim.
Spacebar - Collect Items.