If your keyboard keys stop working, it doesn't necessarily mean they're broken or need replacement. From checking keyboard ...
Repeat delay: Controls the time delay before a keystroke repeats when held down. Repeat rate: Determines the speed of repeated keystrokes. Press the Windows key, type Device Manager, and hit Enter.