An Indianapolis man will serve a 20-year prison sentence for his role in a robbery that resulted in the deaths of two people.