It's the keyboard's batteries, they need replacing.

Same thing happened to me when I was a remote control in my youth.