You will only get the two reference numbers, from any site, not just Ancestry.
You have to order the certificate from the GRO (General Records Office), cost £9.25 each

Same applies to births and marriages.

NEVER order from the Ancestry site, costs about £25 I think.