Have you tried using a different keyboard? Or plugging the keyboard you've got into a different USB slot? If that's not the problem, your Mach3 installation might be corrupt - it happens. Try uninstalling and reinstalling it from a new download. (Remember to save your XML files and license, though).