Before we discuss how to clean a PS4 itself, note that to clean a PS4 controller, you simply need to use compressed air to blow off any dust, and then wipe it down with a microfiber cloth.
Fortunately, PS4 controllers aren't particularly difficult to clean when you have the right supplies. It's not all that different from cleaning a PS5 controller, but as always, patience and a bit of ...