Those capacitors help stabilize the input and output voltages, preventing unwanted oscillations and noise. They are highly recommended, even for simple projects. The values shown (0.1uF and 0.33uF) are common and readily available. You can use ceramic disc capacitors for this purpose.