You cannot have them in your app, but your co passenger will have them in theirs, and can show both tickets when the conductor comes.
I often buy tickets for both me and my partner when we travel. It is no issue that one person shows tickets for two persons on their phone.