Click the little arrow to the right of a task title to open/collapse its subtasks.
How to collapse/open multiple tasks
You can also collapse/show the subtasks of all the tasks in the day view by holding shift and clicking the arrow on one of the tasks.
Showing completed subtasks
Hold Alt (Option on Mac) and click the arrow to show or hide the completed subtasks of that task.