So yes, both the passengers can travel. If there are any available seat, you can request TTE to assign it to you, he will do it without imposing any extra charge/fine. If there are no available seat, you can travel by adjusting in one seat without any extra charge or fine.