New York City cabs will get video screens that will show ads and allow riders to pay with a credit card.