There can be a maximum of six passengers on one IRCTC ticket. The names and ages of the people you are travelling with can be readily added.
Select the preferred berth for each passenger by clicking the edit icon next to their names. The other passenger's meal preferences can likewise be added to the app.
Additionally, there are a few choices available to you when making reservations for a train that can carry six passengers on a single ticket.
You can decide whether to make a reservation for the entire coach or just one or two lower berths.