A 73-year-old HGV driver has appeared in court charged with causing serious injury to two people both aged 84 in York.