How to change username before submitting in login form ?

I have used `mobile number` as username when a user registers in site. also I have removed `0` from the beginning of the mobile number. Now in login form I need to remove `0` from the beginning of the mobile number, if user enter the mobile number with `0`. Is there a function to use as an action in `functions.php`