Remove all of the books from the shelves before you begin cleaning them. Dust the insides of the shelves using a dry, soft cloth. You could choose to vacuum the insides of the shelves too, especially the corners where dust happens to accumulate the most.