If, while the jury are kept together, either during the progress of the trial or after their retirement for deliberation, the court orders them to be provided with suitable and sufficient food and lodging, they shall be so provided at the expense of the county.