The standard dynamo light connectors are 2.8 mm spade terminals, which those look like (subject to being unable to judge the width of the terminals on a photo).
You should just be able to bolt on a replacement light and plug the existing cable in, provided it's in good order. The exception would be lights that come with a pre-installed cable on them, which are mostly at the more expensive end of the market.