Student or Learner
There're two books on the table. Is this sentence fine?
Please be aware I am not an English teacher, nor a native English speaker.
In written English, we would use the full "There are ...". In spoken English, we regularly contract it to "There're ..."
Remember - if you don't use correct capitalisation, punctuation and spacing, anything you write will be incorrect.