How many database licenses do we need for setting 2 servers (nodes) into a cluster?
Oracle database licenses are quoted per processor, not per machine. They don't care whether you have two machines with two cores each or four machines with one core each. Both equate to 4 licenses you need to purchase.

For clustered installations, you need to purchase the appropriate database licenses and the RAC licenses.