If your iPad's onscreen keyboard isn't working, you might need to activate it in Settings or deactivate your external ...
If your Apple Pencil isn't working, you may need to charge it or reset its connection to your iPad and pair it again.