In windows 98, I remember there was something in the accesibility options that would allow you to use keyboard buttons as a mouse...I'm not sure if you can assign just the buttons to the keyboard though.
Ah, just found it in XP, it's called "MouseKeys" I don't see anything to do just the mouse buttons, though.