Most trains have a bar carriage. Here you can buy coffee and tea as well as soft drinks and small snacks.