Identify the key in settings
Open keyboard controls, select an action and press the NumPad key. Read the name CS2 displays. If it reports a different input with Num Lock off, test with Num Lock on.
Assign an action in the console
CS2 uses KP_1 for NumPad 1. First enter bind KP_1 and save the existing result. To test a ping, enter bind "KP_1" "player_ping". Aim at a surface in practice and press the key. The number-row 1 has its own binding.
Restore the previous action
Restore the command you saved with bind. If the key was free, enter unbind KP_1. If it changes after restarting, check KP_1 lines in your loaded CFG. Identify other keypad keys through the controls menu first.