It's an older machine but the BIOS settings on Legacy USB keyboard support MUST be set to on and Legacy USB mouse support must be disabled.

It's either that or use the PS2 connected mouse and keyboard during install.

-> Let me comment about formatting drives before installing XP. That can derail the XP installer. To avoid this I leave the hard drives blank and let XP find and prepare the drive.