Try finding a real Amiga keyboard (or PC keyboard w/ Lyra interface) and see it solves anything. It sounds like you have an AT PC keyboard that's been modified to work with Amigas, but the modifications, or the keyboard in general, have failed/decayed over time.
The
BBoAH has info on some of these modified PC keyboards that might be useful.