Press space to flap (move up the screen) and don't touch the obstacles. You can touch the floor.
All done by me!