They have been offered short roles.
"Johnny always likes to help out the community when on location. While scouting out the area around Albuquerque, he came across these two characters. He was straight on the phone to the casting director," a website quoted a source as saying.
It is not the first time the actor has helped out people living on the streets. In 2011, he had bought a hat from a homeless person.
His film 'Transcendence', is directed by Wally Pfister. Releasing April 2014, it also includes actors like Morgan Freeman, Cillian Murphy and Rebecca Hall.