Man accused of two armed robberies on same day is locked up