Press space to jump, the left and right arrow keys to move and walk into the numbers to go to the next level.
I used the Scratch Wiki platformer tutorial.