HAYWARD — Police arrested two men Tuesday morning who investigators say launched a nearly seven-mile New Year's Day robbery spree through Hayward and into San Lorenzo.

Police believe there were at least seven separate armed robberies, most of them targeting people walking through their neighborhoods.

The two suspects, Carlos Alcantar, 21, and Ernesto Gonzales, 20, face multiple counts of robbery. Allegedly armed with two BB guns that looked like real guns, they drove across Hayward in a green Chevrolet Tahoe, said Hayward police Lt. Tom Perry.

"It started at the south end of town and went north," Perry said. He said the first report came from Pompano Avenue in the East Palma Ceia neighborhood at about 8:40 a.m.

Police Lt. Reid Lindblom said the men moved on to Tyrrell Avenue, robbed a pedestrian there and then later robbed another pedestrian in front of St. Bede's Catholic Church.

The men drove several miles and allegedly robbed a man putting gas in his vehicle at a Chevron station on A Street in Hayward, Lindblom said. They crossed into the unincorporated Cherryland district of Alameda County.

There the men robbed another three people on Laurel Avenue alone, said Lt. David Alvey of the Alameda County Sheriff's Department.

"They turned onto Laurel and just did one right after the other. Bam, bam, bam," Alvey said.

Alvey said the witnesses lost track of the Tahoe as it turned onto Meekland Avenue at about 9:20 a.m., but a sheriff's deputy spotted the vehicle a short time later after it pulled into a shopping center parking lot in San Lorenzo.

"Our patrol saw them and stopped them at the Starbucks at Hesperian and Lewelling (boulevards). They weren't getting coffee," Alvey said. "They were apparently picking victims at random."

Officers from the California Highway patrol pulled the Tahoe over and arrested the men on felony charges.

Perry said several witnesses were brought to the Hayward Police Department and identified the suspects as the men who robbed them.

Lindblom said both Alcantar and Gonzales appear to be Hayward residents. He said police recovered the two replica firearms and credit cards, wallets and other stolen property in the green Tahoe.