The key settings are saved in Output -> Preferences -> X-Plane keys.prf. Try deleting or moving that file to the desktop then starting X-Plane. It should replace the file with the default keys. If that doesn't work, you can move the entire Preferences file to the desktop and X-Plane will behave as if it is a new install and have the default key bindings.