I've just looked at my keyboard and as far as I've seen, this can have 2 causes
between the outside plastic key and the inner circuit there's a small piece of rubber that has a metal or graphite plate underneath it. when you press a key this plate closes a portion of the electrical circuit on the board inside, thus giving a particular signal. the problem is that rubber piece was misplaced during cleaning or (rather not) the metal plate on its bottom is damaged, in which case you can use a pencil to "colour" it, as graphite is a very good electric conductor. but this is only a temporary solution, sooner or later that key will stop working.