With listeners. See http://docs.coronalabs.com/guide/physics/collisionDetection/index.htmlÂ
Basically, if you add a collision listener it is called when a collision occurs. It is a function (can be a method I suspect) that is called whenever two objects collide, and it tells you what they are.Â
So if you write:
function myCollisionListener(event)
and add it with:
Runtime:addEventListener("collision",myCollisionListener)
it will be called on a collision - you can add names to objects so you can tell what has it what, see the docs ref above, and when your ball hits your floor, you can increment a score.