Dodge the spikes, use W, space or the up arrow key to jump. You can jump high or low, depends on how long you press, W, space or the up arrow key. This game gets harder as it goes on, it's also about fast thinking, don't hesitate.
thanks to @Mr_Pyro_