Use A and D to move. Use W to jump. Use the down button to crouch. Use SPACE to throw cappy. Press W after throwing cappy while in midair to jump to cappy. Press the DOWN KEY to preform a spin attack.
If the ground turns invisible for some reason, just reload the page.