disable virtual keyboard in Settings>Text input and restart your device. after that enable it again. this always helped me to get my virtual keyboard back.