Use the number keys to enter the coordinates and use the enter key to lock in the coordinates.
This video taught me how to make this game, so all credit goes to the maker of this video. The link to make a game similar to this one is below: http://www.screencast.com/users/psdbenj/folders/Default/media/9c3867b4-434b-4341-996b-112da9dcbe41