To make the cube jump press space. If you get hit by a spike then press the red button and then the green button to make the cube jump again.
Jumping Cube