Two people are dead after a vehicle was struck by a train in the San Joaquin County, the California Highway Patrol said.