Hi, thanks for using JustAnswer.com I am Cris. Please try to un-pair then repair your keyboard.
To un-pair a Bluetooth keyboard from an iPad or iPad mini:
On your iPad or iPad mini, go to Settings > Bluetooth.
Tap next to the keyboard name.
Tap Forget this Device.
To pair a Bluetooth device with iPad or iPad mini:
Turn on the keyboard.
Press the Bluetooth button to put the keyboard into discoverable mode for pairing.
Turn on Bluetooth.
Tap the keyboard when it appears in the Devices list.
Let me know if you have any further questions. Please take the time to rate my service and submit.
How did you make out with my solution?