How to book a train ticket with Google Pay:
1) Open Google Pay app and tap on "Trains" chat head in "Businesses" section
2) Tap on "New ticket"
3) Search for trains by origin, destination, and date for travel and it will show a list of trains
4)...
more... Find the train that you want to book a ticket for and then tap on "Check availability"
5) Find the class you want to travel in and then tap "Select"
6) Confirm the stations are correct and then tap "OK"
7) You will now be asked to enter your IRCTC account details, if you don't already have an account, you will be asked to create one
8) Enter the passenger information and tap "Continue"
9) Confirm the booking information, then tap "Continue"
10) Select a payment method and then tap "Proceed to continue"
11) Now, enter your UPI PIN, following which you will be taken to IRCTC website
12) Enter your IRCTC password and the Captcha
13) Tap "Submit" and your ticket will be booked. You will now see a confirmation screen.
Information source:
click here