Plug in a USB keyboard.
Is the key layout still affected?
If yes, I suspect that something's changed your keyboard settings. Fix it using settings in the OS.
If no, your keyboard's probably knackered, so try downloading a workshop manual to dismantle and check that your keyboard ribbon is seated correctly. Do not break the latch holding the ribbon! Look for a replacement keyboard on eBay.