First thing I would advise is to try to boot a live CD, and get away form what is on your drive. Find out if the keyboard is still working. Power outages can do some strange things.
If you do not have a live CD to boot ( your Kubuntu install CD will do ) try the keyboard on another system.
To boot from the CD, if you do not have the CD set ahead of the HD, you will have to change that first. If you can, you will know at least some of the keys still work.