How does arduino control a 16x2 or 20x 4 LCD display?

Search for a datasheet, and read about the signals.
Or try this link, http://itee.uq.edu.au/~design/software/xilinx_tut4/#Function%20Description%20of%20LCD