Make sure you have your code: xxxx-xxxx-xxxx-etcetc
Use the following steps to activate your game:
1) Open your Steam client
2) Click "Games" in the navigation menu
3) Click "Activate a Product on Steam"
4) Fill in your product code
5) The game will now automatically install itself.