Can you access the settings? If so you could try clearing cache and data for the keyboard in settings - apps - all tab. Also, I would try downloading a third party keyboard from the Play Store and set it as default until you manage to get your keyboard back.