Keygens are tools used to bypass software licensing, and using them to activate a game like Assassin's Creed 2 without paying is piracy, which is illegal. I can't help with that.
The best approach is to buy the game through an official retailer or a legitimate digital storefront. This ensures you get a genuine, secure copy, along with updates and support, and it supports the developers who made the game.