we are not apple
these forums are user helping other users like yourself, it's sort of going
to a physical apple store and asking other customers their advice
if it was me then I would make the ipad forget the keyboard and set it up from scratch and or test it with another device computer, phone or tablet of any type to verify the keyboard was not simply defect.
This is a user helping users with tech questions forum, we are not apple
and apple do not read your posts here
Get Support (apple.com)
And or
Contact - Official Apple Support
And or
Contact - How to Contact Us - Apple
Or
Genius Bar Reservation and Apple Support Options - Apple