There's a couple ways of doing it, according to the style you find best suits you and your group.
#1 - Static clues are laid out beforehand and the characters must follow the trail of clues to uncover the murder. In this case, you want to present the same information at least 3 ways/times to ensure the players pick up on it (1st time they'll ignore it, 2nd time they'll attribute it to chance, the 3rd time they'll realize its important information). The clues must be presented in different formats, not the same clue repeated over and again. You'll also want to have a small pool of suspects for the party to focus their investigation on; the list of suspects should come near the beginning of the investigation.
#2 - As the players ask questions, the DM responds with information they think will help the players. The murderer is whomever the players are led to by how they decipher the information given to them and logically theorize the reason behind the murder.
#3 - The player's first guess who the murderer is wrong by evidence timely revealed by the DM. Same for the second guess. The third guess, however, the DM reveals information that confirms that yes, this is the murderer.