Keyboard issues such as that are common with devices that have been in a high moisture environment, even left on a bathroom counter during a hot shower or bath.
It's more common than you think.
Read this and follow the instructions EXACTLY as posted.
Got Your BlackBerry Wet? - BlackBerryFAQ