I have had the same issue on my surface pro2. I have one of attachable keyboards. If it gets wonky I disconnect and reconnect it. Usually fixes the issue.
Ya I don't have one of those fancy detachable keyboards....yet. Guess I can justify getting one with the wife now as I can't be limited to just my cell for SRP