Do not take any food items from strangers or neighbours. No matter how close you have come 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.