Entering cheats in Deus Ex: Game of the Year Edition is done through the in-game console, and here's how to get it working.
First, press "T" during gameplay. Look toward the bottom-left corner of the screen, where you'll see a prompt that looks like >Say. You need to delete that word and replace it so it reads:
>set JCDentonMale bCheatsEnabled True
Then press Enter, and cheat mode will be enabled. For a fuller list of available cheats, you can check out resources like the IGN cheats page for the game.