Press Space to jump. You only have a limited amount of jumps per level, so use them wisely! If you run out of jumps before completing the level, press R to restart.
Avoid the spikes at all costs!