there is a right click menu on doors that has a field called 'haskey' which you input the 'name' of the key you want the player to collect to open the door (you can find this 'name' on the right click menu on the key - can change it to whatever you like)
the coins part is going to need a little bit of custom coding on your part but is pretty simple, check out the script board for examples
life's one big game
windows vista ultimate
i5 @3.3ghz, 4gb ram, geforce gtx460, directx 11