The Biddeford Police Department told Fox News the individuals were hit around 11 a.m. approximately 1,000 feet from Main Street.
81 people were onboard the northbound train, police said. No injuries were reported on board.
The incident delayed several Amtrak trains before they were back on the move and operating, Amtrak said on its Twitter page.
An Amtrak representative stated the individuals were trespassing on the tracks when they came into contact with the train, WGME reported. "Amtrak is working with local law enforcement to investigate the incident," the representative said.
The passengers on the train traveling from Portland to Boston were moved to another train, police said.
No further details were released. The investigation is ongoing.
The Associated Press contributed to this report.