Add the cheat command line parameter to end of the "Target" field in the "Shortcut" properties that are used to launch the game. Then, enter the following codes during game play to activate the corresponding cheat function.
Complete building projects - [Ctrl] + B
Spouse and children - [Ctrl] + F
Complete unit projects - [Ctrl] + J
+1,000 to all resources - [Ctrl] + M
Research current tech - [Ctrl] + R
Teleports selected character or unit to pointer - [Ctrl] + T