To change your 4-digit passcode,
Tap your profile picture>Manage Your PhonePe Account.
Tap Change Passcode and enter your PAN and date of birth.
Enter your new passcode and the OTP sent to your mobile number.
If you have forgotten your passcode, tap Forgot Passcode on the log in screen and follow similar instructions above.