Up and down arrows make you go up and down. Touch the clouds to get make your score go up higher. Don't hit the ground.
I used Max Wainwright's book Code your Own Games, 20 games to create with Scratch.