You have to bind it yourself. Open the game's control settings, find the grenade action, and assign it to a button on your controller.
The complication is that Half-Life 2 was built for mouse and keyboard, so native controller support is limited and some actions map awkwardly or not at all. Depending on your pad and drivers, you may need a third-party remapping tool to get everything working comfortably.
If a particular binding refuses to stick, that is the engine's keyboard-centric design showing through rather than a fault on your end.