In fact, it's not so different from reported statements. The tense changes are the same, and we keep the question word. The very important thing though is that, once we tell the question to someone else, it isn't a question any more. So we need to change the grammar to a normal positive sentence. A bit confusing? Maybe this example will help: