There are a few reasons why your keg may look cloudy, take a look through this checklist and if you are still unsure please get in touch!
What style of keg is it? Some beer styles such as wheat beer are known to be cloudy, so it could be the keg is meant to be this way
What is the best before date on the keg? If it is an old keg this may affect the way the beer looks