Use the arrows to move and press F to collect/open things.
First, open the yellow door with the yellow key.
Then, find keys in different colors and open with them the doors with the same color to collect 3 key pieces.
Once you find all the pices find a brown door, open it and escape.