A pair of pet owners from Wednesbury who left their two dogs to starve have been banned from owning animals for 20 years.