Bring down the console (hit ~) and type "bind <key> tossgren" The default key is G. To throw an explode on impact grenade (on the servers that support it), type "bind <key> tossgren impact".
Key being whatever key you want. You can also use mouse1, mouse2, mwheelup, etc.