Try to book your seat location in advance through online booking. This will give you the flexibility of getting the seat of your own choice.
In case your family members have not got adjacent seats during automatic seat assignment then make a humble request to other travellers and try for seat exchange so that all of you can sit together.
Before you start the journey, always check the route and make sure its safe to travel from that route specially if you are planning to travel during night.