follow the course of the game. Click arrows (on-screen only) to move. Find keys, etc. to open doors and progress the storyline.
The code is all my own, but the idea is a complete ripoff of a game called don't escape 3 (albiet less complex.) If you want to play a good game, go play that.