Ashley Foster, who is from High Green, and Jonathan Bowling, who is from the Fox Hill area of north Sheffield, were both arrested earlier this week.
They will remain in police custody until they appear in court in the morning.
Grandfather Mr Greaves, 68, was a lay preacher and his death shocked the community where he lived.
He lived just a few hundred yards from where he was attacked.
After the incident he was taken to hospital with severe injuries to his head but did not survive.
More than 50 police officers were drafted into the inquiry and detectives made a series of appeals for help from the community.
More top news
What's your opinion on parents being told by headteachers they will be reported to police if they let children play over 18 computer games
Pilots with a history of depression should not be banned from flying, a leading British psychiatrist has said.
Parents have been told by teachers they'll be reported to police and social services if children to play Call of Duty or Grand Theft Auto