Press and hold the PS and Share buttons on your DualShock 4 until it enters pairing mode (shown by the flashing white light bar on the back of the controller). Open your Android phone's Settings app.
It can be a maddening experience when the keyboard on your Android phone doesn't appear, but there are some steps you can take to address the issue.