You will first need to find out which are the switch wires. Switch off all power then connect a multimeter on resistance (or beeper) range across the wires in turn. Make sure the switch is ON (with the power still off) on the wall. When the meter beeps or reads zero these are your switch wires. Mark them both with red insulating tape so you know which is which. My guess is one will be red and the other one will be black, but mark them anyway.
Connect the remaining black wire to the blue one on the new lamp, then connect the remaining red wire to one of the switch wires (it doesn't matter which) then the other switch wire to the brown on your lamp. Do remember to connect the earth. Also remember only to strip just enough insulation to make the connection. I have seen too many places with live bare wires. Not good!
Colin
November 2007