How can I make the keypad appear during a phone call?
This is a known bug. See Google Dialer bug breaks the dialpad during calls. That’s a problem

You would need to wait for a fix or from app settings, roll back the updates to the app