Apple Keyboard with numeric keypad problems
Sounds like you got water inside.   

It might be cleanable, professionally; or some of the tracks may be corroded.
Your call - get a quote for a fix, or just get a new one &amp; don't get it wet again :/

See this answer to a not really related question for a 'cruel but fair' analysis of how bad water is for electronics.