Here's why:
* Silver (Ag) has a +1 charge.
* Sulfur (S) has a -2 charge.
To balance the charges, you need two silver ions (2 x +1 = +2) to combine with one sulfide ion (-2).