To explain this takes a trip and story about how keyboards work. Rather than do that the most common fix is to replace the keyboard. For your info, it's called a scan matrix failure.

Bob