Arrow to move left and right.
Repeatedly press Spacebar to charge up.
But gently press Spacebar to stomp down when flying.
There are two modes available: classic and endless. You have to complete classic first to unlock endless mode. It's not that hard.