First, reboot your iPad and if that doesn't help, check if the issue occurs with other keyboard apps on your iPad, and see if the same issue occurs.