The Name of This Book Is A Secret by Pseudonymous Bosch
From Little Brown Books for Young Readers:
Cass and Max-Ernest are two friendless 11-year-olds who come together to solve the mystery surrounding a dead magician and the clues he left behind. Along the way they must solve puzzles and word games and face incredible danger to answer their questions. Illustrations.