Very simple, just don't get hit by the spikes and press space to jump, a baby could figure it out easily.
Credit to my Prompt Generator.