I have accidentally deleted some users from the site's members and owners groups. How do I restore these users back to the site?
Add them as rjcup3 says or recover the site from backup to a different URL and compare groups. Those are the only options really.
You can edit group membership by clicking Site Actions > Site Permissions > click the group > New > Add Users > select the users > click OK.