To activate a steam game, the code will be there for you on your screen if you open it from the case, and it will take a screenshot so if you close it you can load it back up and copy it from there.
Then, go to this link:
us.battle.net/account/management/claim-code.html
From here you can redeem your code.