All you have to do is to tap on the screen to jump, avoid obstacles and move forward. But it is much much harder than it seems. You will face different and challenging obstacles as you progress. Also dont forget about the side walls! They will keep getting closer to each other which means the longer you stay on an obstacle, the narrower the passage will get.
Touch on mobile device or mouse on PC.