Do not take any food items from strangers or neighbours. No matter how close you have come during the journey.
Take some tissue papers with you. This will help you to clean your seat or your hands during the journey.
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.