Changing your default(registered) mobile number at IRCTC is not easy.
Please do it only if you don't have any tickets which need cancellation in your account. There is a chance that you'll lose your account given IRCTC's bizarre software behaviors.
If you were just trying with any random phone number then click the second link to change your mobile number and send the verification code to your new mobile number.