Um...
Control panel
Printers and other hardware
Keyboard
If the buttons are programable from within xp then here's where you do it. If not then 1 you can't program them 2 you need a driver program to do it.
Check your keyboard make and model at the microsoft hardware site.