A quick example of water in a platform game. Water is handled in lots of different ways in platform games but this is one way you could implement it in your game.
SHIFT – Jump (when on platform and watertop)
LEFT ARROW – Move Left
RIGHT ARROW – Move Right
UP ARROW – Move Up (only in water)